{if $cis}
<span class="status_warning">
WARNING: There are content items that use this file. If you delete it now this file will disapear from those content items.<br />
<ul>Content items that use this file:
{foreach from=$cis item=ci key=k}
<li><a href="{$ci.manage_path}?manage={$k}" target="_blank">{$ci.text|truncate:100} (ID: {$k})</a></li>
{/foreach}
</ul>
</span>
<br />
{/if}

<br />

<table border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td>
      <table border="0" cellspacing="0" cellpadding="4">
        <tr>
          <td width="22"><img src="img/modules/crystal_icons_small/22x22/msg_question.png" alt="Question icon" /></td>
          <td align="left" valign="middle">Are you sure that you want to <strong>delete</strong> file &quot;{$attachment->get_orig_filename()}&quot;?</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">
      <table border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="left" height="16" valign="middle">
            <div class="action_yes"><a href="admin/modules/tangra_cms/attachment/attachment_del.php?del_confirmed={$attachment->get_id()}">Yes</a></div>
          </td>
          <td width="100">&nbsp;</td>
          <td align="right" height="16">
            <div class="action_cancel"><a href="admin/modules/tangra_cms/attachment/attachments.php">Cancel</a></div>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
